package com.sayimo.maker.user.dao;

import java.util.List;
import java.util.Map;

import com.sayimo.framework.exception.DaoException;
import com.sayimo.maker.user.vo.WalletIncomeExpendRecord;

/**  
 * @Title: WalletIncomeExpendRecordInterfaceDao.java
 * @Package com.sayimo.maker.user.dao
 * @Description:
 * @author 田超
 * @date 2017年2月10日 下午5:05:16
 * @version V1.0  
 */
public interface WalletIncomeExpendRecordInterfaceDao {
	/**
	 * 
	* @Title: insertSelective
	* @Author: 田超
	* @Date:日期：2017年2月9日 : 上午11:02:39
	* @Description:插入收支记录
	* @return int
	* @Version 1.0.0
	 */
	public int insertSelective(WalletIncomeExpendRecord expendRecord) throws DaoException;
	
	/**
	 * 
	* @Title: querySliverRecord
	* @Author: 田超
	* @Date:日期：2017年2月10日 : 下午6:19:52
	* @Description: 查询充值记录
	* @return List<WalletIncomeExpendRecord>
	* @Version 1.0.0
	 */
	public List<WalletIncomeExpendRecord> querySliverRecord(Integer customerId) throws DaoException;

	public Double selectRecord(Integer customerId) throws DaoException;
	
	public List<Object> selectOrderByExpend() throws DaoException;

	public List<Object> selectOrderByIncome() throws DaoException;
	
	public List queryWalletInOutByCond(Map<String, Object> paramMap) throws DaoException;
	
	public int updateWalletIncomeExpend(WalletIncomeExpendRecord expendRecord) throws DaoException;
	
	public WalletIncomeExpendRecord getWalletIncomeExpendByEmsNo(String emsNo) throws DaoException;
	
	public WalletIncomeExpendRecord getWalletIncomeExpend(Map<String, Object> paramMap) throws DaoException;
}
